package com.jdd.dao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @className TDeviceIcDiscernLog
 * @author: zxl
 * @describe: IC卡识别结果
 * @date: 2022/9/30/11:13
 * @vision: 1.0
 */
@Data
public class TDeviceIcDiscernLog implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "状态1-正常2-停用")
    private Boolean status;

    @ApiModelProperty(value = "用户id")
    private String userId;

    @ApiModelProperty(value = "抓拍图")
    private String imgdata;

    @ApiModelProperty(value = "识别信息")
    private String error_msg;

    @ApiModelProperty(value = "图大小")
    private Integer imglen;

    @ApiModelProperty(value = "图大小")
    private Integer imgexist;

    @ApiModelProperty(value = "0:未带帽；1：带帽；-1：未检测")
    private String hat;

    @ApiModelProperty(value = "身份证号")
    private String idCard;

    @ApiModelProperty(value = "是否是url")
    private Boolean isUrl;

    @ApiModelProperty(value = "0:未戴口罩；1：戴口罩；-1：未检测")
    private String mask;

    @ApiModelProperty(value = "比对结果，0，抓拍。-1：比对失败。")
    private String match;

    @ApiModelProperty(value = "姓名")
    private String name;

    @ApiModelProperty(value = "设备人员ID")
    private String perId;


    @ApiModelProperty(value = "人员角色，0：普通人员。 1：白名单人员。 2：黑名单人员")
    private Integer role;

    @ApiModelProperty(value = "消息ID")
    private String sequence;

    @ApiModelProperty(value = "设备SN")
    private String sn;

    @ApiModelProperty(value = "温度")
    private String tep;

    @ApiModelProperty(value = "时间戳")
    private Integer tvsec;

    @ApiModelProperty(value = "韦根协议")
    private Integer type;

    @ApiModelProperty(value = "韦根号")
    private Integer wg_num;

    @ApiModelProperty(value = "用户类型1-住户2-访客3-未知")
    private Integer userType;

    @ApiModelProperty(value = "项目id")
    private String projectId;


}
